package request

type TmallServiceSettleadjustmentSearchRequest struct {
	/*
	   结束时间     */
	EndTime *string `json:"end_time" required:"true" `
	/*
	   开始时间     */
	StartTime *string `json:"start_time" required:"true" `
}

func (s *TmallServiceSettleadjustmentSearchRequest) SetEndTime(v string) *TmallServiceSettleadjustmentSearchRequest {
	s.EndTime = &v
	return s
}
func (s *TmallServiceSettleadjustmentSearchRequest) SetStartTime(v string) *TmallServiceSettleadjustmentSearchRequest {
	s.StartTime = &v
	return s
}

func (req *TmallServiceSettleadjustmentSearchRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.EndTime != nil {
		paramMap["end_time"] = *req.EndTime
	}
	if req.StartTime != nil {
		paramMap["start_time"] = *req.StartTime
	}
	return paramMap
}

func (req *TmallServiceSettleadjustmentSearchRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
